package com.ynny.chapter12.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Emp {

    private Integer empId;

    private String empName;

    private LocalDateTime birthday;

    private BigDecimal salary;

    private Integer age;

//    private Integer departmentId;

    private Dept dept;
}
